# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-elixir
pkgver=0.3.1
pkgrel=0
pkgdesc="Elixir grammar for tree-sitter"
url="https://github.com/elixir-lang/tree-sitter-elixir"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/elixir-lang/tree-sitter-elixir/archive/v$pkgver/tree-sitter-elixir-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
324a6b4e0db1a0817c1280d3e7bc9d75724e2f596bbc53696978106e693d0ed5a0503793e95bfd393bd0bbbc4bacbbb1224066a5e2cb36cea9db290ddd6416bf  tree-sitter-elixir-0.3.1.tar.gz
"
